<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%request.setCharacterEncoding("UTF-8");%>
<jsp:useBean id="ps" class="JavaBean.person" scope="page" ></jsp:useBean>
<jsp:setProperty name="ps" property="*"></jsp:setProperty>
姓名:<jsp:getProperty name="ps" property="name"/><br>
性别:<jsp:getProperty name="ps" property="sex"/><br>
年龄:<jsp:getProperty name="ps" property="age"/><br>
</body>
</html>
